<#ftl encoding="UTF-8" />
<#assign tiles=JspTaglibs["http://tiles.apache.org/tags-tiles"]>
<!DOCTYPE html>
<html >
    <head>
        <meta charset="utf-8">
        <title>演示系统</title>
        <meta http-equiv="cache-control" content="no-cache" />
        <meta http-equiv="expires" content="0" />
        <meta name="copyright" content="(c) 2015" />
        <meta http-equiv="last-modified" content="Thu, 14 Apr 2017 12:17:27 GMT" />
        <link rel="shortcut icon" href="${rc.contextPath}/favicon.ico" type="image/vnd.microsoft.icon" />
        <link rel="Bookmark" href="${rc.contextPath}/favicon.ico" /> <!--可以在收藏夹中显示出你的图标-->
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/styles/reset.css" />
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/styles/font.css" />
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/styles/public.css" />
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/styles/menu.css" />
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/styles/form.css" />
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/styles/message.css" />
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/styles/ui/dialog.css" />
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/styles/grid.css" />
        <link type="text/css" rel="stylesheet" href="${rc.contextPath}/styles/tree/default/style.min.css" />
        <script type="text/javascript" src="${rc.contextPath}/scripts/jquery.min.js" charset="utf-8"></script>
        <script type="text/javascript" src="${rc.contextPath}/scripts/common/wx.tools.js" charset="utf-8"></script>
        <script type="text/javascript" src="${rc.contextPath}/scripts/plugin/jstree/jstree.min.js" charset="utf-8"></script>
        <script type="text/javascript" src="${rc.contextPath}/scripts/plugin/dialog/ui.wxdialog.js" charset="utf-8"></script>
        <script type="text/javascript" src="${rc.contextPath}/scripts/plugin/jquery.ui.wxloadmask.js" charset="utf-8"></script>
        <script type="text/javascript" src="${rc.contextPath}/scripts/plugin/table/ui.wxtablesorter.js" charset="utf-8"></script>
        <script type="text/javascript" src="${rc.contextPath}/scripts/common/wx.msghandler.js" charset="utf-8"></script>
        <script type="text/javascript" src="${rc.contextPath}/scripts/common/site.main.js" charset="utf-8"></script>
        <@tiles.insertAttribute name="header" />
    </head>

    <body class="body">
        <div id="loading">
            <img style="padding-bottom:10px;" src="${rc.contextPath}/images/icons/dialog/indicator.gif" alt="Loading" />
            <br />
            LOADING
        </div>
        <!-- 导航头 -->
        <nav class="navbar navbar-default">
            <div class="container-header">
                <div class="navbar-header toggle-left">
                    <span class="main-menu">
                        <div id="lines"></div>
                    </span>
                    <span class="navbar-brand">
                        <img src="${rc.contextPath}/images/logo.png" style="max-height:41px;">
                    </span>
                </div>
                <div class="navbar-header toggle-right">
                    <span id="search_btn" class="search__icon" title="搜索">
                        <i class="fa fa-search" style="font-size:20px; position:relative; top:3px;"></i>
                    </span>
                    <span class="notifi__icon" title="系统消息" onclick="showNoticeWnd();">
                        <i class="fa fa-notice" style="font-size:20px; position:relative; top:3px;"></i>
                        <span class="count" id="dd-notifications-count"></span>
                    </span>
                    <span class="profile-nav-text">
                        <span class="profile-nav-text-name">
                            <#if identityUser?exists>${identityUser.getEmployeeName()}</#if>
                        </span>
                        <span class="profile-nav-text-job">
                            <#if identityUser?exists><#if identityUser.getDepartmentName()??>${identityUser.getDepartmentName()}<#else>综合部</#if></#if>
                        </span>
                    </span>
                    <span class="profile__icon">
                        <i class="fa fa-user-circle-o" style="font-size:20px; position:relative; top:3px;"></i>
                        <i class="fa fa-caret-down" style="position:relative; top:4px;"></i>
                        <div class="user__actions">
                            <ul class="menu-list" style="width:160px;">
                                <li class="menu-item" onclick="$('.user__actions').hide();
                                                               setTimeout(function () {
                                                                   $('.user__actions').attr('style','');
                                                               }, 500);">
                                    <span>首选项</span>
                                </li>
                                <li class="menu-item" onclick="$('.user__actions').hide();
                                                               setTimeout(function () {
                                                                   $('.user__actions').attr('style','');
                                                               }, 500);
                                                               location.assign('${rc.contextPath}/admin/password/change.html')">
                                    <i class="fa-all fa-key"></i><span>修改密码</span>
                                </li>
                                <li class="menu-separator"><span></span></li>
                                <li class="menu-item" onclick="$('.user__actions').hide();
                                                               setTimeout(function () {
                                                                   $('.user__actions').attr('style','');
                                                               }, 500);
                                                               doExitSystem();">
                                    <i class="fa-all fa-sign-out"></i><span>退出系统</span>
                                </li>
                            </ul>    
                        </div>
                    </span>
                </div>
            </div>
        </nav>
        <!-- 指示位置 -->
        <div class="breadcrumbs">
            <span class="container">
                <div class="row">
                    <i class="fa fa-home"></i>
                    当前位置： 
                    <@tiles.insertAttribute name="indicator" />
                </div>
            </span>
        </div>
        <!-- 画面内容 -->
        <section id="wrapper__content">
            <@tiles.insertAttribute name="content" />
        </section>
        <!-- 菜单导航 -->
        <aside id="huzo__menu">
            <div class="side-nav__menu side-nav__menu_open" style="width:170px;">
                <ul class="menu">
                    <li class="menu__item">
						<span class="menu__link menu__link_first has__children">基础信息</span>
                        <div class="side-nav__menu__02" style="left:169px; width:170px; background:#217cc5;">
                            <ul class="menu">
                        	    <li class="menu__item">
                                    <span class="menu__link menu__link_first has__children">贸易类</span>
                                    <div class="side-nav__menu__03" style="left:169px; width:180px;">
                                        <ul class="menu">
                        	                <li class="menu__item show_order_01" onclick="OnMenuItemClick('${rc.contextPath}/master/customer/list.html');">
                                                <span class="menu__link menu__link_first">客户信息</span>
                                            </li>
                        	                <li class="menu__item show_order_02" onclick="OnMenuItemClick('${rc.contextPath}/master/supplier/list.html');">
                                                <span class="menu__link">供应商信息</span>
                                            </li>
                        	                <li class="menu__item show_order_03" onclick="OnMenuItemClick('${rc.contextPath}/master/group_of_supplier/list.html');">
                                                <span class="menu__link">供应商分组设置</span>
                                            </li>
                                            <li class="menu__separator show_order_04"></li>
                                            <li class="menu__item show_order_05" onclick="OnMenuItemClick('${rc.contextPath}/master/product/list.html');">
                                                <span class="menu__link">产品信息</span>
                                            </li>
                                            <li class="menu__item show_order_06" onclick="OnMenuItemClick('${rc.contextPath}/master/product_type/list.html');">
                                                <span class="menu__link">产品品类</span>
                                            </li>
                                            <li class="menu__item show_order_07" onclick="OnMenuItemClick('${rc.contextPath}/master/colour/list.html');">
                                                <span class="menu__link">成品颜色</span>
                                            </li>
                        	                <li class="menu__item show_order_08" onclick="OnMenuItemClick('${rc.contextPath}/master/size/list.html');">
                                                <span class="menu__link">成品尺码</span>
                                            </li>
                                            <li class="menu__separator show_order_09"></li>
                                            <li class="menu__item show_order_10" onclick="OnMenuItemClick('${rc.contextPath}/master/trade_mode/list.html');">
                                                <span class="menu__link">贸易类型</span>
                                            </li>
                                            <li class="menu__item show_order_11" onclick="OnMenuItemClick('${rc.contextPath}/master/shipping_type/list.html');">
                                                <span class="menu__link">运输方式</span>
                                            </li>
                                        </ul>
                                    </div>
                                </li>
                        	    <li class="menu__item">
                                    <span class="menu__link has__children">采购类</span>
                                    <div class="side-nav__menu__03" style="left:169px; width:180px;">
                                        <ul class="menu">
                        	                <li class="menu__item show_order_01" onclick="OnMenuItemClick('${rc.contextPath}/master/material/list.html');">
                                                <span class="menu__link menu__link_first">材料信息</span>
                                            </li>
                        	                <li class="menu__item show_order_02" onclick="OnMenuItemClick('${rc.contextPath}/master/group_of_material/list.html');">
                                                <span class="menu__link">材料人员分组设置</span>
                                            </li>
                                            <li class="menu__item show_order_03" onclick="OnMenuItemClick('${rc.contextPath}/master/material_tolerance_type/list.html');">
                                                <span class="menu__link">材料允差类型</span>
                                            </li>
                                            <li class="menu__separator show_order_04"></li>
                        	                <li class="menu__item show_order_05" onclick="OnMenuItemClick('${rc.contextPath}/master/uom/list.html');">
                                                <span class="menu__link">计量单位</span>
                                            </li>
                                            <li class="menu__separator show_order_06"></li>
                                            <li class="menu__item" show_order_07><span class="menu__link">材料订货损耗</span></li>
                        	                <li class="menu__item show_order_08"><span class="menu__link">材料到货允许</span></li>
                                            <li class="menu__separator show_order_09"></li>
                                            <li class="menu__item show_order_10"><span class="menu__link">化检标准</span></li>
                                            <li class="menu__item show_order_11"><span class="menu__link">许可数量</span></li>
                                        </ul>
                                    </div>
                                </li>
                        	    <li class="menu__item">
                                    <span class="menu__link has__children">财务类</span>
                                    <div class="side-nav__menu__03" style="left:169px; width:170px;">
                                        <ul class="menu">
                        	                <li class="menu__item show_order_01" onclick="OnMenuItemClick('${rc.contextPath}/master/tax_rate/list.html');">
                                                <span class="menu__link menu__link_first">税率</span>
                                            </li>
                        	                <li class="menu__item show_order_02" onclick="OnMenuItemClick('${rc.contextPath}/master/settlement_mode/list.html');">
                                                <span class="menu__link">结算方式</span>
                                            </li>
                        	                <li class="menu__item show_order_03" onclick="OnMenuItemClick('${rc.contextPath}/master/currency/list.html');">
                                                <span class="menu__link">货币</span>
                                            </li>
                                            <li class="menu__item show_order_04" onclick="OnMenuItemClick('${rc.contextPath}/master/exchange_rate/list.html');">
                                                <span class="menu__link">汇率</span>
                                            </li>
                                        </ul>
                                    </div>
                                </li>
                                <li class="menu__item">
                                    <span class="menu__link has__children">系统设置</span>
                                    <div class="side-nav__menu__03" style="left:169px; width:170px;">
                                        <ul class="menu">
                        	                <li class="menu__item order_01"><span class="menu__link menu__link_first">贸易公司</span></li>
                        	                <li class="menu__item order_02" onclick="OnMenuItemClick('${rc.contextPath}/master/employee/list.html');">
                                                <span class="menu__link">人员信息</span>
                                            </li>
                        	                <li class="menu__item order_03" onclick="OnMenuItemClick('${rc.contextPath}/master/group_of_user/list.html');">
                                                <span class="menu__link">用户组</span>
                                            </li>
                                        </ul>
                                    </div>
                                </li>
                            </ul>
                        </div>
					</li>
                    <li class="menu__item">
						<span class="menu__link has__children">贸易管理</span>
                        <div class="side-nav__menu__02" style="left:169px; width:235px; background:#217cc5;">
                            <ul class="menu">
                        	    <li class="menu__item"><span class="menu__link menu__link_first">售货合同</span></li>
                                <li class="menu__separator"></li>
                        	    <li class="menu__item"><span class="menu__link">产品计划</span></li>
                        	    <li class="menu__item"><span class="menu__link">生产指示书</span></li>
                                <li class="menu__separator"></li>
                                <li class="menu__item"><span class="menu__link">开发样品跟单表</span></li>
                        	    <li class="menu__item"><span class="menu__link">开发样品跟单表（品牌）</span></li>
                                <li class="menu__separator"></li>
                                <li class="menu__item"><span class="menu__link">发货发令单</span></li>
                        	    <li class="menu__item"><span class="menu__link">发货单</span></li>
                                <li class="menu__separator"></li>
                                <li class="menu__item"><span class="menu__link">化检日记账</span></li>
                        	    <li class="menu__item"><span class="menu__link">销售发票</span></li>
                            </ul>
                        </div>
					</li>
                    <li class="menu__item">
						<span class="menu__link has__children">技术管理</span>
                        <div class="side-nav__menu__02" style="left:169px; width:210px; background:#217cc5;">
                            <ul class="menu">
                        	    <li class="menu__item">
                                    <span class="menu__link menu__link_first has__children">单耗管理</span>
                                    <div class="side-nav__menu__03" style="left:209px; width:170px;">
                                        <ul class="menu">
                        	                <li class="menu__item"><span class="menu__link menu__link_first">单耗（设计）</span></li>
                        	                <li class="menu__item"><span class="menu__link">单耗（推板）</span></li>
                        	                <li class="menu__item"><span class="menu__link">单耗（副资材）</span></li>
                                        </ul>
                                    </div>
                                </li>
                        	    <li class="menu__item">
                                    <span class="menu__link has__children">物料需求</span>
                                    <div class="side-nav__menu__03" style="left:209px; width:220px;">
                                        <ul class="menu">
                        	                <li class="menu__item"><span class="menu__link menu__link_first">原料调达表（主辅料）</span></li>
                        	                <li class="menu__item"><span class="menu__link">原料调达表（副资材）</span></li>
                        	                <li class="menu__item"><span class="menu__link">补料单</span></li>
                                        </ul>
                                    </div>
                                </li>
                                <li class="menu__separator"></li>
                                <li class="menu__item"><span class="menu__link">成本预测</span></li>
                                <li class="menu__separator"></li>
                        	    <li class="menu__item"><span class="menu__link">订单材料更改通知</span></li>
                            </ul>
                        </div>
					</li>
                    <li class="menu__item">
						<span class="menu__link has__children">采购管理</span>
                        <div class="side-nav__menu__02" style="left:169px; background:#217cc5;">
                            <ul class="menu">
                        	    <li class="menu__item"><span class="menu__link menu__link_first">采购订单</span></li>
                        	    <li class="menu__item"><span class="menu__link">跟单日记</span></li>
                                <li class="menu__separator"></li>
                                <li class="menu__item"><span class="menu__link">非材料花费</span></li>
                        	    <li class="menu__item"><span class="menu__link">对账单</span></li>
                                <li class="menu__separator"></li>
                        	    <li class="menu__item"><span class="menu__link">采购下单通知</span></li>
                            </ul>
                        </div>
					</li>
                    <li class="menu__item">
						<span class="menu__link has__children">生产管理</span>
                        <div class="side-nav__menu__02" style="left:169px; background:#217cc5;">
                            <ul class="menu">
                        	    <li class="menu__item"><span class="menu__link menu__link_first">生产领料单</span></li>
                        	    <li class="menu__item"><span class="menu__link">退料单</span></li>
                        	    <li class="menu__item"><span class="menu__link">委托加工合同</span></li>
                                <li class="menu__item"><span class="menu__link">加工返单</span></li>
                            </ul>
                        </div>
					</li>
                    <li class="menu__item">
						<span class="menu__link has__children">库存管理</span>
                        <div class="side-nav__menu__02" style="left:169px; background:#217cc5;">
                            <ul class="menu">
                        	    <li class="menu__item"><span class="menu__link menu__link_first">入库单</span></li>
                        	    <li class="menu__item"><span class="menu__link">原辅料出库</span></li>
                        	    <li class="menu__item"><span class="menu__link">委托加工合同</span></li>
                                <li class="menu__item"><span class="menu__link">加工返单</span></li>
                            </ul>
                        </div>
					</li>
                    <li class="menu__item">
						<span class="menu__link has__children">财务管理</span>
                        <div class="side-nav__menu__02" style="left:169px; background:#217cc5;">
                            <ul class="menu">
                        	    <li class="menu__item"><span class="menu__link menu__link_first">会计期</span></li>
                            </ul>
                        </div>
					</li>
                    <li class="menu__item">
						<span class="menu__link has__children">决策分析</span>
                        <div class="side-nav__menu__02" style="left:169px; background:#217cc5;">
                            <ul class="menu">
                        	    <li class="menu__item"><span class="menu__link menu__link_first">会计期</span></li>
                        	    <li class="menu__item"><span class="menu__link">退料单</span></li>
                        	    <li class="menu__item"><span class="menu__link">委托加工合同</span></li>
                                <li class="menu__item"><span class="menu__link">加工返单</span></li>
                            </ul>
                        </div>
					</li>
                    <li class="menu__item">
						<span class="menu__link has__children">系统管理</span>
                        <div class="side-nav__menu__02" style="left:169px; width:170px; background:#217cc5;">
                            <ul class="menu">
                        	    <li class="menu__item"><span class="menu__link menu__link_first">系统用户</span></li>
                        	    <li class="menu__item" onclick="OnMenuItemClick('${rc.contextPath}/admin/password/change.html');">
                                    <span class="menu__link">修改密码</span>
                                </li>
                                <li class="menu__separator"></li>
                        	    <li class="menu__item">
                                    <span class="menu__link has__children">审核设置</span>
                                    <div class="side-nav__menu__03" style="left:169px; width:170px;">
                                        <ul class="menu">
                        	                <li class="menu__item"><span class="menu__link menu__link_first">角色管理</span></li>
                        	                <li class="menu__item"><span class="menu__link">审核流程设置</span></li>
                        	                <li class="menu__item"><span class="menu__link">调达表审核</span></li>
                                            <li class="menu__item"><span class="menu__link">采购订单审核</span></li>
                                        </ul>
                                    </div>
                                </li>
                                <li class="menu__separator"></li>
                                <li class="menu__item"><span class="menu__link">系统功能</span></li>
                                <li class="menu__item"><span class="menu__link">权限设置</span></li>
                                <li class="menu__separator"></li>
                                <li class="menu__item" onclick="OnMenuItemClick('${rc.contextPath}/admin/event_log/list.html');">
                                    <span class="menu__link">系统日志</span>
                                </li>
                            </ul>
                        </div>
					</li>
                </ul>
            </div>
        </aside>
        <!-- 系统通知 -->
        <div class="notice">
            <span class="close" title="关闭系统通知"><i class="fa-all fa-18 fa-times-1" onclick="hideNoticeWnd();"></i></span>
            <h2>系统通知消息</h2>
        </div>
        <!-- 退出系统 -->
        <form id="form_logout" method="POST" action="${rc.contextPath}/logout"></form>
        <!-- 画面参数 -->
        <input type="hidden" id="UserId" value="<#if identityUser?exists>${identityUser.getEmployeeId()}</#if>" />
        <input type="hidden" id="UserName" value="<#if identityUser?exists>${identityUser.getEmployeeName()}</#if>" />
        <input type="hidden" id="RoleName" value="<#if identityUser?exists><#if identityUser.getRoleName()?exists>${identityUser.getRoleName()}</#if></#if>" />
        <input type="hidden" id="HasCheckRole" value="<#if hasCheckRole?exists>${hasCheckRole}<#else>0</#if>" />
        <!-- 更新版本，乐观锁 -->
        <input type="hidden" id="Version" value="" />
        <!-- 权限控制 -->
        <#if ActionAcl?exists>
            <#list ActionAcl as actionAcl>
                <input type="hidden" id="ActionAcl_${actionAcl.actionId}" value="${actionAcl.accessFlag}" />
            </#list>
        </#if>
        <script type="text/javascript">var basePath = '${rc.contextPath}';</script>
    </body>
</html>
